home *** CD-ROM | disk | FTP | other *** search
- program IntegerSizeDemo;
- type
- MyInt = Integer (42); { 42 bits, signed }
- MyWord = Word (2); { 2 bits, unsigned, i.e., 0 .. 3 }
- MyCard = Cardinal (2); { the same }
-
- HalfInt = Integer (BitSizeOf (Integer) div 2);
- { A signed integer type which is half as big as the normal
- `Integer' type, regardless of how big `Integer' is
- on any platform the program is compiled on. }
-
- begin
- end.
-